import request from '@/utils/request';
//上传json进行回显
export function importJSON(options) {
    return request({
      url: '/data/import',
      method: 'post',
      data:options
    });
}
// 获取资源列表
export function resourceData(options){
  return request({
    url: '/bk/info/list',
    method: 'get',
    params: options
  })
}


//文件绑定
export function fileBind(options){
  return request({
    url: '/data/file_bind',
    method: 'post',
    data: options
  })
}

//拷贝至班课
export function copyToBk(id){
  return request({
    url: `/bk/info/copy/${id}`,
    method: 'post'
  })
}